home *** CD-ROM | disk | FTP | other *** search
/ The Learning Curve / The Learning Curve (Weird Science, 1996).iso / computers / noahs.arc / misc / lzx.txt < prev    next >
Encoding:
Text File  |  1995-09-22  |  2.4 KB  |  76 lines

  1. Quick Notes On LZX:
  2.  
  3.   This is virtually identical to LHA with one exception:  On the command
  4. line, you have to separate the various options, they can't be bunched
  5. together as with LHA.  I figure this will be fixed in a future release.
  6.  
  7. To compress files, standard shell usage is:
  8.  
  9.   > Copy files to be archived to empty dir or device, preferably Ram.
  10.   
  11.   > CD to that directory or device
  12.  
  13.   > LZX a <newfilename> *
  14.  
  15.  
  16. To include sub-directories, it would be something like:
  17.  
  18.   > LZX -r -x -e -Y a <newfilename> *
  19.  
  20. The -r and -x are needed for the sub-directories, and the -e archives any
  21. empty drawers.  This is important, as some programs will look for an empty
  22. EXAMPLES or PICS drawer or whatever to run, so you want to make sure they're
  23. included in the package.  The -Y archives any already-compressed file it
  24. comes across, like an LHA file, JPEG pic, or DMS file.  The asterisk means
  25. "anything in the current directory".  You can also use the standard #?
  26. wildcards if you wish.  To get maximum compression, add a -3 to the command
  27. line.
  28.  
  29.  
  30. To archive remote directories, such as all your fonts, it would be:
  31.  
  32. > LZX -3 -r -x a <newfilename> dh0:fonts/#?
  33.  
  34. If you know there are no empty directories, then obviously you don't need the
  35. -e option, but when setting it up in your DU, make sure to include it.  Also
  36. the -Y.
  37.  
  38. To decompress files, same as LHA:
  39.  
  40. > Copy archive to empty dir or device, preferably Ram
  41.  
  42. > CD to directory or device
  43.  
  44. > LZX x <filename>
  45.  
  46. If you don't want DISPLAYME's from popping up while decompressing, add a -m.
  47.  
  48.  
  49. Others:
  50.  
  51. > LZX t <filename)  to test the file.
  52.  
  53. > LZX l <filename>  to list the contents of the file.
  54.  
  55.  
  56. Common usage of the above would be to redirect the output to a textfile, such
  57. as:
  58.  
  59. > LZX >ram:Testfonts.txt -R t dh0:fonts/#?
  60.   
  61.   The -R searches `recursively' through the directories, like the -r does
  62. when archiving files.  You could use #?/#? wildcards, instead, but the -R is
  63. the safest way to go.
  64.  
  65.  
  66. Small anecdote:  A few months ago, I downloaded the 1.4 meg "World Fact Book"
  67. from the 'net.  I also downloaded the 1.4 meg "World Fact Book" in AmigaGuide
  68. format.  I decompress the first file, check it out, recompress it with LZX.
  69. I copy the 850k LZX file over to the board.  I then do the same with the
  70. AmigaGuide file, copying the 850k LZX file over to the board.  For those of
  71. you scoring at home, that's over ONE MEG of hard drive space saved on what I
  72. would call two "normal" files.  Got a calculator handy?
  73.  
  74.   This is a great archiver, support it!
  75.  
  76.